home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 001-025 / scopedisk6 / arexx / sizeblk / readme next >
Internet Message Format  |  1995-03-18  |  1KB

  1. Date: 29 Jun 88 00:02:16 GMT
  2. Subject: Re: ARexx Questions
  3. From: daveh@cbmvax.UUCP (Dave Haynie)
  4.  
  5. in article <2119@cadovax.UUCP>, kaz@cadovax.UUCP (Kerry Zimmerman) says:
  6. > Keywords: ARexx
  7.  
  8. > After reading so many glowing words about ARexx here on the net...
  9.  
  10. > Why would I want to write a script in ARexx instead of using a CLI script
  11. > or a Shell script (using Matt's Shell)?
  12.  
  13. I don't recall the examples on the ARexx disk offhand.  But there are lots
  14. of things you can't do easily, or possibly at all, using the CLI script
  15. language, or probably Matt's shell language (tough I haven't used it
  16. myself).  One of the features I like the most about the ARexx language
  17. is that it supports recursive subroutines, like any REAL computer
  18. language.
  19.  
  20. Consider, for a moment, this problem.  I've got gobs of stuff on my
  21. hard disk, all kinds of directories filled with Usenet downloads.  I
  22. like to transfer whole directories over to floppy disks.  I waste lots
  23. of time if I try to transfer a directory and find out that it won't
  24. fit on the space remaining on a floppy.  So I want a function that'll
  25. tell me the size, in blocks, of a directory tree.
  26.  
  27. Here's an ARexx solution, written in about 10 minutes.
  28.